<template>
  <div>
    <div>
      <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
        <van-swipe-item v-for="(v,i) in swiperlist" :key="i">
            <img :src="v.picUrl" alt="" width="100%">
        </van-swipe-item>
        
      </van-swipe>
    </div>
  </div>
</template>

<script>
export default {
    data() {
        return {
            swiperlist:[]
        }
    },
  mounted() {
    this.$network.getSwiper({}).then(res => {
      console.log(res.data.data);
    //   console.log("123");
    this.swiperlist= res.data.data
    });
  }
};
</script>

<style scoped>
 .my-swipe .van-swipe-item {
    color: #fff;
    font-size: 20px;
    /* line-height: 150px; */
    text-align: center;
    /* background-color: #39a9ed; */
  }
</style>